
class NewsModel {

  final String ctime;
  final String title;
  final String description;
  final String picUrl;
  final String url;
  final String source;

	NewsModel.fromJsonMap(Map<String, dynamic> map): 
		ctime = map["ctime"],
		title = map["title"],
		description = map["description"],
		picUrl = map["picUrl"],
		url = map["url"],
		source = map["source"];

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['ctime'] = ctime;
		data['title'] = title;
		data['description'] = description;
		data['picUrl'] = picUrl;
		data['url'] = url;
		data['source'] = source;
		return data;
	}
}
